﻿@{
    ViewBag.Title = "增加板块";
    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>增加板块</h2>
        <ol class="breadcrumb">
            <li>
                <a href="/Admin/Home/Index">后台管理</a>
            </li>
            <li>
                <a href="#">论坛管理</a>
            </li>
            <li>
                <a href="/Admin/Bbs/Forum">板块管理</a>
            </li>
            <li>
                <a href="#">增加板块</a>
            </li>
        </ol>
    </div>
</div>

<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>增加板块 <small><a href="/Admin/Bbs/Forum">板块</a></small></h5>
                </div>
                <div class="ibox-content">
                    <div class="ibox-content">
                        @using (Html.BeginForm("AddForum", "Bbs", FormMethod.Post, new { id = "frmAddForum", @class = "form-horizontal", enctype = "multipart/form-data" }))
                        {
                            @Html.AntiForgeryToken()
                            <div class="form-group">
                                <label class="col-sm-2 control-label">板块名称</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" placeholder="板块名称" name="Title">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">描述</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" placeholder="描述" name="Description">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-lg-2 control-label">图片</label>
                                <div class="col-lg-10">
                                    <input type="file" name="file" id="file" class="form-control" /><span class="help-block m-b-none">（不上传请勿选择）</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">保存内容</button>
                                    <button class="btn btn-white" type="reset">重置</button>
                                </div>
                                <span class="help-block m-b-none">@Html.ValidationSummary(true)</span>
                            </div>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


